
package com.bei_en.teacher.admin.persistence.dao.feedback;

import java.util.List;
import org.apache.ibatis.session.RowBounds;
import org.springframework.stereotype.Repository;
import com.bei_en.teacher.admin.model.feedback.bean.Feedback;
import com.bei_en.teacher.admin.model.feedback.condition.FeedbackCondition;
import com.bei_en.teacher.admin.persistence.BaseDao;

/**
 * 
 * @author Guocg
 * @date 2016-11-26 10:09:53
 */
@Repository
public interface FeedbackDao extends BaseDao<Feedback, Integer> {

    Integer findNumberByCondition(FeedbackCondition vo);

    List<Feedback> findPageBreakByCondition(FeedbackCondition vo, RowBounds rb);

    /**
     * 返回上次插入的id，用于merge
     * @return
     */
    Integer findLastInsertedId();
}
